class AddDetailsToEmployees < ActiveRecord::Migration
  def self.up
    add_column :employees, :title, :string
    add_column :employees, :phone, :string
    add_column :employees, :mobile, :string
    add_column :employees, :email, :string
    add_column :employees, :team_id, :integer
  end

  def self.down
    remove_column :employees, :team_id
    remove_column :employees, :email
    remove_column :employees, :mobile
    remove_column :employees, :phone
    remove_column :employees, :title
  end
end
